package com.ck.model.common;

/**
 * 节目终端关联表
 *
 * @author linqiang
 */
public class DeviceProgram {
    private Long deviceProgramId;

    /**
     * 投放的终端mac
     */
    private String deviceMac;

    /**
     * 节目版本号
     */
    private String programVersion;

    /**
     * 添加时间
     */
    private Long addTime;

    /**
     * 投放开始时间
     */
    private Long putinStartTime;
    /**
     * 投放结束时间
     */
    private Long putinEndTime;

    /**
     * 数据状态（0正常，1逻辑删除）
     */
    private Integer dataStatus;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 投放终端code
     */
    private String deviceCode;

    public Long getDeviceProgramId() {
        return deviceProgramId;
    }

    public void setDeviceProgramId(Long deviceProgramId) {
        this.deviceProgramId = deviceProgramId;
    }

    public String getDeviceMac() {
        return deviceMac;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }

    public String getProgramVersion() {
        return programVersion;
    }

    public void setProgramVersion(String programVersion) {
        this.programVersion = programVersion == null ? null : programVersion.trim();
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Long getPutinStartTime() {
        return putinStartTime;
    }

    public void setPutinStartTime(Long putinStartTime) {
        this.putinStartTime = putinStartTime;
    }

    public Long getPutinEndTime() {
        return putinEndTime;
    }

    public void setPutinEndTime(Long putinEndTime) {
        this.putinEndTime = putinEndTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    @Override
    public String toString() {
        return "DeviceProgram{" +
                "deviceProgramId=" + deviceProgramId +
                ", deviceMac='" + deviceMac + '\'' +
                ", programVersion='" + programVersion + '\'' +
                ", addTime=" + addTime +
                ", putinStartTime=" + putinStartTime +
                ", putinEndTime=" + putinEndTime +
                ", dataStatus=" + dataStatus +
                ", updateTime=" + updateTime +
                ", deviceCode='" + deviceCode + '\'' +
                '}';
    }
}